package com.wr.recruit.service.service;

import com.wr.recruit.service.dao.dbo.CompanyDbo;
import org.springframework.data.domain.Page;

import java.util.List;

public interface CompanyService {

    CompanyDbo createCompanyInfo(CompanyDbo company);

    CompanyDbo updateCompanyInfo(CompanyDbo company);

    Page<CompanyDbo> getAllCompanyList(int pageSize, int pageNum);

    Page<CompanyDbo> getCompanyListByCompanyName(String companyName, int pageSize, int pageNum);

    void RevokeCompanyInfo(String companyCode);

    CompanyDbo getCompanyInfoByCompanyCode(String companyCode);
}
